<?php
query_posts(array('category_name' => 'feature', 'showposts' => 5));
?>

    
    <ul id="feature_post">
        <?php while (have_posts()) : the_post(); ?>
        <li>
            <div class="photo">
                <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('last-news'); ?></a>
            </div>
            <div class="last_topic">
                <h2><a href="<?php the_permalink(); ?>"><?php the_title() ?></a></h2>
                <div class="last_topic_summary">
                    <p>
                        <?php echo get_the_excerpt(); ?>...(<a href="<?php the_permalink(); ?>">អាន​លម្អិត</a>)
                    </p>
                </div>
                <span class="clearfix"></span>
            </div>
        </li>
      <?php endwhile;
            wp_reset_query();  ?>
    </ul>

<script>

jQuery('#feature_post').anythingSlider({
    buildArrows     : false,
    buildStartStop  : false,
    autoPlay        : true,
    autoplayLocked  : true
});

</script>
  
            
            
